package com.inxedu.os.edu.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EduCourseExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public EduCourseExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCourseIdIsNull() {
            addCriterion("COURSE_ID is null");
            return (Criteria) this;
        }

        public Criteria andCourseIdIsNotNull() {
            addCriterion("COURSE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andCourseIdEqualTo(Integer value) {
            addCriterion("COURSE_ID =", value, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdNotEqualTo(Integer value) {
            addCriterion("COURSE_ID <>", value, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdGreaterThan(Integer value) {
            addCriterion("COURSE_ID >", value, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("COURSE_ID >=", value, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdLessThan(Integer value) {
            addCriterion("COURSE_ID <", value, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdLessThanOrEqualTo(Integer value) {
            addCriterion("COURSE_ID <=", value, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdIn(List<Integer> values) {
            addCriterion("COURSE_ID in", values, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdNotIn(List<Integer> values) {
            addCriterion("COURSE_ID not in", values, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdBetween(Integer value1, Integer value2) {
            addCriterion("COURSE_ID between", value1, value2, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdNotBetween(Integer value1, Integer value2) {
            addCriterion("COURSE_ID not between", value1, value2, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseNameIsNull() {
            addCriterion("COURSE_NAME is null");
            return (Criteria) this;
        }

        public Criteria andCourseNameIsNotNull() {
            addCriterion("COURSE_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andCourseNameEqualTo(String value) {
            addCriterion("COURSE_NAME =", value, "courseName");
            return (Criteria) this;
        }

        public Criteria andCourseNameNotEqualTo(String value) {
            addCriterion("COURSE_NAME <>", value, "courseName");
            return (Criteria) this;
        }

        public Criteria andCourseNameGreaterThan(String value) {
            addCriterion("COURSE_NAME >", value, "courseName");
            return (Criteria) this;
        }

        public Criteria andCourseNameGreaterThanOrEqualTo(String value) {
            addCriterion("COURSE_NAME >=", value, "courseName");
            return (Criteria) this;
        }

        public Criteria andCourseNameLessThan(String value) {
            addCriterion("COURSE_NAME <", value, "courseName");
            return (Criteria) this;
        }

        public Criteria andCourseNameLessThanOrEqualTo(String value) {
            addCriterion("COURSE_NAME <=", value, "courseName");
            return (Criteria) this;
        }

        public Criteria andCourseNameLike(String value) {
            addCriterion("COURSE_NAME like", value, "courseName");
            return (Criteria) this;
        }

        public Criteria andCourseNameNotLike(String value) {
            addCriterion("COURSE_NAME not like", value, "courseName");
            return (Criteria) this;
        }

        public Criteria andCourseNameIn(List<String> values) {
            addCriterion("COURSE_NAME in", values, "courseName");
            return (Criteria) this;
        }

        public Criteria andCourseNameNotIn(List<String> values) {
            addCriterion("COURSE_NAME not in", values, "courseName");
            return (Criteria) this;
        }

        public Criteria andCourseNameBetween(String value1, String value2) {
            addCriterion("COURSE_NAME between", value1, value2, "courseName");
            return (Criteria) this;
        }

        public Criteria andCourseNameNotBetween(String value1, String value2) {
            addCriterion("COURSE_NAME not between", value1, value2, "courseName");
            return (Criteria) this;
        }

        public Criteria andIsAvaliableIsNull() {
            addCriterion("IS_AVALIABLE is null");
            return (Criteria) this;
        }

        public Criteria andIsAvaliableIsNotNull() {
            addCriterion("IS_AVALIABLE is not null");
            return (Criteria) this;
        }

        public Criteria andIsAvaliableEqualTo(Integer value) {
            addCriterion("IS_AVALIABLE =", value, "isAvaliable");
            return (Criteria) this;
        }

        public Criteria andIsAvaliableNotEqualTo(Integer value) {
            addCriterion("IS_AVALIABLE <>", value, "isAvaliable");
            return (Criteria) this;
        }

        public Criteria andIsAvaliableGreaterThan(Integer value) {
            addCriterion("IS_AVALIABLE >", value, "isAvaliable");
            return (Criteria) this;
        }

        public Criteria andIsAvaliableGreaterThanOrEqualTo(Integer value) {
            addCriterion("IS_AVALIABLE >=", value, "isAvaliable");
            return (Criteria) this;
        }

        public Criteria andIsAvaliableLessThan(Integer value) {
            addCriterion("IS_AVALIABLE <", value, "isAvaliable");
            return (Criteria) this;
        }

        public Criteria andIsAvaliableLessThanOrEqualTo(Integer value) {
            addCriterion("IS_AVALIABLE <=", value, "isAvaliable");
            return (Criteria) this;
        }

        public Criteria andIsAvaliableIn(List<Integer> values) {
            addCriterion("IS_AVALIABLE in", values, "isAvaliable");
            return (Criteria) this;
        }

        public Criteria andIsAvaliableNotIn(List<Integer> values) {
            addCriterion("IS_AVALIABLE not in", values, "isAvaliable");
            return (Criteria) this;
        }

        public Criteria andIsAvaliableBetween(Integer value1, Integer value2) {
            addCriterion("IS_AVALIABLE between", value1, value2, "isAvaliable");
            return (Criteria) this;
        }

        public Criteria andIsAvaliableNotBetween(Integer value1, Integer value2) {
            addCriterion("IS_AVALIABLE not between", value1, value2, "isAvaliable");
            return (Criteria) this;
        }

        public Criteria andSubjectIdIsNull() {
            addCriterion("SUBJECT_ID is null");
            return (Criteria) this;
        }

        public Criteria andSubjectIdIsNotNull() {
            addCriterion("SUBJECT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andSubjectIdEqualTo(Integer value) {
            addCriterion("SUBJECT_ID =", value, "subjectId");
            return (Criteria) this;
        }

        public Criteria andSubjectIdNotEqualTo(Integer value) {
            addCriterion("SUBJECT_ID <>", value, "subjectId");
            return (Criteria) this;
        }

        public Criteria andSubjectIdGreaterThan(Integer value) {
            addCriterion("SUBJECT_ID >", value, "subjectId");
            return (Criteria) this;
        }

        public Criteria andSubjectIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("SUBJECT_ID >=", value, "subjectId");
            return (Criteria) this;
        }

        public Criteria andSubjectIdLessThan(Integer value) {
            addCriterion("SUBJECT_ID <", value, "subjectId");
            return (Criteria) this;
        }

        public Criteria andSubjectIdLessThanOrEqualTo(Integer value) {
            addCriterion("SUBJECT_ID <=", value, "subjectId");
            return (Criteria) this;
        }

        public Criteria andSubjectIdIn(List<Integer> values) {
            addCriterion("SUBJECT_ID in", values, "subjectId");
            return (Criteria) this;
        }

        public Criteria andSubjectIdNotIn(List<Integer> values) {
            addCriterion("SUBJECT_ID not in", values, "subjectId");
            return (Criteria) this;
        }

        public Criteria andSubjectIdBetween(Integer value1, Integer value2) {
            addCriterion("SUBJECT_ID between", value1, value2, "subjectId");
            return (Criteria) this;
        }

        public Criteria andSubjectIdNotBetween(Integer value1, Integer value2) {
            addCriterion("SUBJECT_ID not between", value1, value2, "subjectId");
            return (Criteria) this;
        }

        public Criteria andSubjectLinkIsNull() {
            addCriterion("SUBJECT_LINK is null");
            return (Criteria) this;
        }

        public Criteria andSubjectLinkIsNotNull() {
            addCriterion("SUBJECT_LINK is not null");
            return (Criteria) this;
        }

        public Criteria andSubjectLinkEqualTo(String value) {
            addCriterion("SUBJECT_LINK =", value, "subjectLink");
            return (Criteria) this;
        }

        public Criteria andSubjectLinkNotEqualTo(String value) {
            addCriterion("SUBJECT_LINK <>", value, "subjectLink");
            return (Criteria) this;
        }

        public Criteria andSubjectLinkGreaterThan(String value) {
            addCriterion("SUBJECT_LINK >", value, "subjectLink");
            return (Criteria) this;
        }

        public Criteria andSubjectLinkGreaterThanOrEqualTo(String value) {
            addCriterion("SUBJECT_LINK >=", value, "subjectLink");
            return (Criteria) this;
        }

        public Criteria andSubjectLinkLessThan(String value) {
            addCriterion("SUBJECT_LINK <", value, "subjectLink");
            return (Criteria) this;
        }

        public Criteria andSubjectLinkLessThanOrEqualTo(String value) {
            addCriterion("SUBJECT_LINK <=", value, "subjectLink");
            return (Criteria) this;
        }

        public Criteria andSubjectLinkLike(String value) {
            addCriterion("SUBJECT_LINK like", value, "subjectLink");
            return (Criteria) this;
        }

        public Criteria andSubjectLinkNotLike(String value) {
            addCriterion("SUBJECT_LINK not like", value, "subjectLink");
            return (Criteria) this;
        }

        public Criteria andSubjectLinkIn(List<String> values) {
            addCriterion("SUBJECT_LINK in", values, "subjectLink");
            return (Criteria) this;
        }

        public Criteria andSubjectLinkNotIn(List<String> values) {
            addCriterion("SUBJECT_LINK not in", values, "subjectLink");
            return (Criteria) this;
        }

        public Criteria andSubjectLinkBetween(String value1, String value2) {
            addCriterion("SUBJECT_LINK between", value1, value2, "subjectLink");
            return (Criteria) this;
        }

        public Criteria andSubjectLinkNotBetween(String value1, String value2) {
            addCriterion("SUBJECT_LINK not between", value1, value2, "subjectLink");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNull() {
            addCriterion("ADD_TIME is null");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNotNull() {
            addCriterion("ADD_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualTo(Date value) {
            addCriterion("ADD_TIME =", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualTo(Date value) {
            addCriterion("ADD_TIME <>", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThan(Date value) {
            addCriterion("ADD_TIME >", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("ADD_TIME >=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThan(Date value) {
            addCriterion("ADD_TIME <", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualTo(Date value) {
            addCriterion("ADD_TIME <=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeIn(List<Date> values) {
            addCriterion("ADD_TIME in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotIn(List<Date> values) {
            addCriterion("ADD_TIME not in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeBetween(Date value1, Date value2) {
            addCriterion("ADD_TIME between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotBetween(Date value1, Date value2) {
            addCriterion("ADD_TIME not between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andSourcePriceIsNull() {
            addCriterion("SOURCE_PRICE is null");
            return (Criteria) this;
        }

        public Criteria andSourcePriceIsNotNull() {
            addCriterion("SOURCE_PRICE is not null");
            return (Criteria) this;
        }

        public Criteria andSourcePriceEqualTo(BigDecimal value) {
            addCriterion("SOURCE_PRICE =", value, "sourcePrice");
            return (Criteria) this;
        }

        public Criteria andSourcePriceNotEqualTo(BigDecimal value) {
            addCriterion("SOURCE_PRICE <>", value, "sourcePrice");
            return (Criteria) this;
        }

        public Criteria andSourcePriceGreaterThan(BigDecimal value) {
            addCriterion("SOURCE_PRICE >", value, "sourcePrice");
            return (Criteria) this;
        }

        public Criteria andSourcePriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("SOURCE_PRICE >=", value, "sourcePrice");
            return (Criteria) this;
        }

        public Criteria andSourcePriceLessThan(BigDecimal value) {
            addCriterion("SOURCE_PRICE <", value, "sourcePrice");
            return (Criteria) this;
        }

        public Criteria andSourcePriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("SOURCE_PRICE <=", value, "sourcePrice");
            return (Criteria) this;
        }

        public Criteria andSourcePriceIn(List<BigDecimal> values) {
            addCriterion("SOURCE_PRICE in", values, "sourcePrice");
            return (Criteria) this;
        }

        public Criteria andSourcePriceNotIn(List<BigDecimal> values) {
            addCriterion("SOURCE_PRICE not in", values, "sourcePrice");
            return (Criteria) this;
        }

        public Criteria andSourcePriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SOURCE_PRICE between", value1, value2, "sourcePrice");
            return (Criteria) this;
        }

        public Criteria andSourcePriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SOURCE_PRICE not between", value1, value2, "sourcePrice");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceIsNull() {
            addCriterion("CURRENT_PRICE is null");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceIsNotNull() {
            addCriterion("CURRENT_PRICE is not null");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceEqualTo(BigDecimal value) {
            addCriterion("CURRENT_PRICE =", value, "currentPrice");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceNotEqualTo(BigDecimal value) {
            addCriterion("CURRENT_PRICE <>", value, "currentPrice");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceGreaterThan(BigDecimal value) {
            addCriterion("CURRENT_PRICE >", value, "currentPrice");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("CURRENT_PRICE >=", value, "currentPrice");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceLessThan(BigDecimal value) {
            addCriterion("CURRENT_PRICE <", value, "currentPrice");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("CURRENT_PRICE <=", value, "currentPrice");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceIn(List<BigDecimal> values) {
            addCriterion("CURRENT_PRICE in", values, "currentPrice");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceNotIn(List<BigDecimal> values) {
            addCriterion("CURRENT_PRICE not in", values, "currentPrice");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("CURRENT_PRICE between", value1, value2, "currentPrice");
            return (Criteria) this;
        }

        public Criteria andCurrentPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("CURRENT_PRICE not between", value1, value2, "currentPrice");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("TITLE is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("TITLE is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("TITLE =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("TITLE <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("TITLE >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("TITLE >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("TITLE <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("TITLE <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("TITLE like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("TITLE not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("TITLE in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("TITLE not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("TITLE between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("TITLE not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andLessionNumIsNull() {
            addCriterion("LESSION_NUM is null");
            return (Criteria) this;
        }

        public Criteria andLessionNumIsNotNull() {
            addCriterion("LESSION_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andLessionNumEqualTo(Integer value) {
            addCriterion("LESSION_NUM =", value, "lessionNum");
            return (Criteria) this;
        }

        public Criteria andLessionNumNotEqualTo(Integer value) {
            addCriterion("LESSION_NUM <>", value, "lessionNum");
            return (Criteria) this;
        }

        public Criteria andLessionNumGreaterThan(Integer value) {
            addCriterion("LESSION_NUM >", value, "lessionNum");
            return (Criteria) this;
        }

        public Criteria andLessionNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("LESSION_NUM >=", value, "lessionNum");
            return (Criteria) this;
        }

        public Criteria andLessionNumLessThan(Integer value) {
            addCriterion("LESSION_NUM <", value, "lessionNum");
            return (Criteria) this;
        }

        public Criteria andLessionNumLessThanOrEqualTo(Integer value) {
            addCriterion("LESSION_NUM <=", value, "lessionNum");
            return (Criteria) this;
        }

        public Criteria andLessionNumIn(List<Integer> values) {
            addCriterion("LESSION_NUM in", values, "lessionNum");
            return (Criteria) this;
        }

        public Criteria andLessionNumNotIn(List<Integer> values) {
            addCriterion("LESSION_NUM not in", values, "lessionNum");
            return (Criteria) this;
        }

        public Criteria andLessionNumBetween(Integer value1, Integer value2) {
            addCriterion("LESSION_NUM between", value1, value2, "lessionNum");
            return (Criteria) this;
        }

        public Criteria andLessionNumNotBetween(Integer value1, Integer value2) {
            addCriterion("LESSION_NUM not between", value1, value2, "lessionNum");
            return (Criteria) this;
        }

        public Criteria andLogoIsNull() {
            addCriterion("LOGO is null");
            return (Criteria) this;
        }

        public Criteria andLogoIsNotNull() {
            addCriterion("LOGO is not null");
            return (Criteria) this;
        }

        public Criteria andLogoEqualTo(String value) {
            addCriterion("LOGO =", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoNotEqualTo(String value) {
            addCriterion("LOGO <>", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoGreaterThan(String value) {
            addCriterion("LOGO >", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoGreaterThanOrEqualTo(String value) {
            addCriterion("LOGO >=", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoLessThan(String value) {
            addCriterion("LOGO <", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoLessThanOrEqualTo(String value) {
            addCriterion("LOGO <=", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoLike(String value) {
            addCriterion("LOGO like", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoNotLike(String value) {
            addCriterion("LOGO not like", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoIn(List<String> values) {
            addCriterion("LOGO in", values, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoNotIn(List<String> values) {
            addCriterion("LOGO not in", values, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoBetween(String value1, String value2) {
            addCriterion("LOGO between", value1, value2, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoNotBetween(String value1, String value2) {
            addCriterion("LOGO not between", value1, value2, "logo");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("UPDATE_TIME =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("UPDATE_TIME <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("UPDATE_TIME >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("UPDATE_TIME <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("UPDATE_TIME in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("UPDATE_TIME not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andPageBuycountIsNull() {
            addCriterion("PAGE_BUYCOUNT is null");
            return (Criteria) this;
        }

        public Criteria andPageBuycountIsNotNull() {
            addCriterion("PAGE_BUYCOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andPageBuycountEqualTo(Integer value) {
            addCriterion("PAGE_BUYCOUNT =", value, "pageBuycount");
            return (Criteria) this;
        }

        public Criteria andPageBuycountNotEqualTo(Integer value) {
            addCriterion("PAGE_BUYCOUNT <>", value, "pageBuycount");
            return (Criteria) this;
        }

        public Criteria andPageBuycountGreaterThan(Integer value) {
            addCriterion("PAGE_BUYCOUNT >", value, "pageBuycount");
            return (Criteria) this;
        }

        public Criteria andPageBuycountGreaterThanOrEqualTo(Integer value) {
            addCriterion("PAGE_BUYCOUNT >=", value, "pageBuycount");
            return (Criteria) this;
        }

        public Criteria andPageBuycountLessThan(Integer value) {
            addCriterion("PAGE_BUYCOUNT <", value, "pageBuycount");
            return (Criteria) this;
        }

        public Criteria andPageBuycountLessThanOrEqualTo(Integer value) {
            addCriterion("PAGE_BUYCOUNT <=", value, "pageBuycount");
            return (Criteria) this;
        }

        public Criteria andPageBuycountIn(List<Integer> values) {
            addCriterion("PAGE_BUYCOUNT in", values, "pageBuycount");
            return (Criteria) this;
        }

        public Criteria andPageBuycountNotIn(List<Integer> values) {
            addCriterion("PAGE_BUYCOUNT not in", values, "pageBuycount");
            return (Criteria) this;
        }

        public Criteria andPageBuycountBetween(Integer value1, Integer value2) {
            addCriterion("PAGE_BUYCOUNT between", value1, value2, "pageBuycount");
            return (Criteria) this;
        }

        public Criteria andPageBuycountNotBetween(Integer value1, Integer value2) {
            addCriterion("PAGE_BUYCOUNT not between", value1, value2, "pageBuycount");
            return (Criteria) this;
        }

        public Criteria andPageViewcountIsNull() {
            addCriterion("PAGE_VIEWCOUNT is null");
            return (Criteria) this;
        }

        public Criteria andPageViewcountIsNotNull() {
            addCriterion("PAGE_VIEWCOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andPageViewcountEqualTo(Integer value) {
            addCriterion("PAGE_VIEWCOUNT =", value, "pageViewcount");
            return (Criteria) this;
        }

        public Criteria andPageViewcountNotEqualTo(Integer value) {
            addCriterion("PAGE_VIEWCOUNT <>", value, "pageViewcount");
            return (Criteria) this;
        }

        public Criteria andPageViewcountGreaterThan(Integer value) {
            addCriterion("PAGE_VIEWCOUNT >", value, "pageViewcount");
            return (Criteria) this;
        }

        public Criteria andPageViewcountGreaterThanOrEqualTo(Integer value) {
            addCriterion("PAGE_VIEWCOUNT >=", value, "pageViewcount");
            return (Criteria) this;
        }

        public Criteria andPageViewcountLessThan(Integer value) {
            addCriterion("PAGE_VIEWCOUNT <", value, "pageViewcount");
            return (Criteria) this;
        }

        public Criteria andPageViewcountLessThanOrEqualTo(Integer value) {
            addCriterion("PAGE_VIEWCOUNT <=", value, "pageViewcount");
            return (Criteria) this;
        }

        public Criteria andPageViewcountIn(List<Integer> values) {
            addCriterion("PAGE_VIEWCOUNT in", values, "pageViewcount");
            return (Criteria) this;
        }

        public Criteria andPageViewcountNotIn(List<Integer> values) {
            addCriterion("PAGE_VIEWCOUNT not in", values, "pageViewcount");
            return (Criteria) this;
        }

        public Criteria andPageViewcountBetween(Integer value1, Integer value2) {
            addCriterion("PAGE_VIEWCOUNT between", value1, value2, "pageViewcount");
            return (Criteria) this;
        }

        public Criteria andPageViewcountNotBetween(Integer value1, Integer value2) {
            addCriterion("PAGE_VIEWCOUNT not between", value1, value2, "pageViewcount");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("END_TIME is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("END_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(Date value) {
            addCriterion("END_TIME =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(Date value) {
            addCriterion("END_TIME <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(Date value) {
            addCriterion("END_TIME >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("END_TIME >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(Date value) {
            addCriterion("END_TIME <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("END_TIME <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<Date> values) {
            addCriterion("END_TIME in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<Date> values) {
            addCriterion("END_TIME not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(Date value1, Date value2) {
            addCriterion("END_TIME between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("END_TIME not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andLosetypeIsNull() {
            addCriterion("LOSETYPE is null");
            return (Criteria) this;
        }

        public Criteria andLosetypeIsNotNull() {
            addCriterion("LOSETYPE is not null");
            return (Criteria) this;
        }

        public Criteria andLosetypeEqualTo(Integer value) {
            addCriterion("LOSETYPE =", value, "losetype");
            return (Criteria) this;
        }

        public Criteria andLosetypeNotEqualTo(Integer value) {
            addCriterion("LOSETYPE <>", value, "losetype");
            return (Criteria) this;
        }

        public Criteria andLosetypeGreaterThan(Integer value) {
            addCriterion("LOSETYPE >", value, "losetype");
            return (Criteria) this;
        }

        public Criteria andLosetypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("LOSETYPE >=", value, "losetype");
            return (Criteria) this;
        }

        public Criteria andLosetypeLessThan(Integer value) {
            addCriterion("LOSETYPE <", value, "losetype");
            return (Criteria) this;
        }

        public Criteria andLosetypeLessThanOrEqualTo(Integer value) {
            addCriterion("LOSETYPE <=", value, "losetype");
            return (Criteria) this;
        }

        public Criteria andLosetypeIn(List<Integer> values) {
            addCriterion("LOSETYPE in", values, "losetype");
            return (Criteria) this;
        }

        public Criteria andLosetypeNotIn(List<Integer> values) {
            addCriterion("LOSETYPE not in", values, "losetype");
            return (Criteria) this;
        }

        public Criteria andLosetypeBetween(Integer value1, Integer value2) {
            addCriterion("LOSETYPE between", value1, value2, "losetype");
            return (Criteria) this;
        }

        public Criteria andLosetypeNotBetween(Integer value1, Integer value2) {
            addCriterion("LOSETYPE not between", value1, value2, "losetype");
            return (Criteria) this;
        }

        public Criteria andLoseTimeIsNull() {
            addCriterion("LOSE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andLoseTimeIsNotNull() {
            addCriterion("LOSE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andLoseTimeEqualTo(String value) {
            addCriterion("LOSE_TIME =", value, "loseTime");
            return (Criteria) this;
        }

        public Criteria andLoseTimeNotEqualTo(String value) {
            addCriterion("LOSE_TIME <>", value, "loseTime");
            return (Criteria) this;
        }

        public Criteria andLoseTimeGreaterThan(String value) {
            addCriterion("LOSE_TIME >", value, "loseTime");
            return (Criteria) this;
        }

        public Criteria andLoseTimeGreaterThanOrEqualTo(String value) {
            addCriterion("LOSE_TIME >=", value, "loseTime");
            return (Criteria) this;
        }

        public Criteria andLoseTimeLessThan(String value) {
            addCriterion("LOSE_TIME <", value, "loseTime");
            return (Criteria) this;
        }

        public Criteria andLoseTimeLessThanOrEqualTo(String value) {
            addCriterion("LOSE_TIME <=", value, "loseTime");
            return (Criteria) this;
        }

        public Criteria andLoseTimeLike(String value) {
            addCriterion("LOSE_TIME like", value, "loseTime");
            return (Criteria) this;
        }

        public Criteria andLoseTimeNotLike(String value) {
            addCriterion("LOSE_TIME not like", value, "loseTime");
            return (Criteria) this;
        }

        public Criteria andLoseTimeIn(List<String> values) {
            addCriterion("LOSE_TIME in", values, "loseTime");
            return (Criteria) this;
        }

        public Criteria andLoseTimeNotIn(List<String> values) {
            addCriterion("LOSE_TIME not in", values, "loseTime");
            return (Criteria) this;
        }

        public Criteria andLoseTimeBetween(String value1, String value2) {
            addCriterion("LOSE_TIME between", value1, value2, "loseTime");
            return (Criteria) this;
        }

        public Criteria andLoseTimeNotBetween(String value1, String value2) {
            addCriterion("LOSE_TIME not between", value1, value2, "loseTime");
            return (Criteria) this;
        }

        public Criteria andSequenceIsNull() {
            addCriterion("SEQUENCE is null");
            return (Criteria) this;
        }

        public Criteria andSequenceIsNotNull() {
            addCriterion("SEQUENCE is not null");
            return (Criteria) this;
        }

        public Criteria andSequenceEqualTo(Integer value) {
            addCriterion("SEQUENCE =", value, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceNotEqualTo(Integer value) {
            addCriterion("SEQUENCE <>", value, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceGreaterThan(Integer value) {
            addCriterion("SEQUENCE >", value, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceGreaterThanOrEqualTo(Integer value) {
            addCriterion("SEQUENCE >=", value, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceLessThan(Integer value) {
            addCriterion("SEQUENCE <", value, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceLessThanOrEqualTo(Integer value) {
            addCriterion("SEQUENCE <=", value, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceIn(List<Integer> values) {
            addCriterion("SEQUENCE in", values, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceNotIn(List<Integer> values) {
            addCriterion("SEQUENCE not in", values, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceBetween(Integer value1, Integer value2) {
            addCriterion("SEQUENCE between", value1, value2, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceNotBetween(Integer value1, Integer value2) {
            addCriterion("SEQUENCE not between", value1, value2, "sequence");
            return (Criteria) this;
        }

        public Criteria andCourseGrossIncomeIsNull() {
            addCriterion("COURSE_GROSS_INCOME is null");
            return (Criteria) this;
        }

        public Criteria andCourseGrossIncomeIsNotNull() {
            addCriterion("COURSE_GROSS_INCOME is not null");
            return (Criteria) this;
        }

        public Criteria andCourseGrossIncomeEqualTo(BigDecimal value) {
            addCriterion("COURSE_GROSS_INCOME =", value, "courseGrossIncome");
            return (Criteria) this;
        }

        public Criteria andCourseGrossIncomeNotEqualTo(BigDecimal value) {
            addCriterion("COURSE_GROSS_INCOME <>", value, "courseGrossIncome");
            return (Criteria) this;
        }

        public Criteria andCourseGrossIncomeGreaterThan(BigDecimal value) {
            addCriterion("COURSE_GROSS_INCOME >", value, "courseGrossIncome");
            return (Criteria) this;
        }

        public Criteria andCourseGrossIncomeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("COURSE_GROSS_INCOME >=", value, "courseGrossIncome");
            return (Criteria) this;
        }

        public Criteria andCourseGrossIncomeLessThan(BigDecimal value) {
            addCriterion("COURSE_GROSS_INCOME <", value, "courseGrossIncome");
            return (Criteria) this;
        }

        public Criteria andCourseGrossIncomeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("COURSE_GROSS_INCOME <=", value, "courseGrossIncome");
            return (Criteria) this;
        }

        public Criteria andCourseGrossIncomeIn(List<BigDecimal> values) {
            addCriterion("COURSE_GROSS_INCOME in", values, "courseGrossIncome");
            return (Criteria) this;
        }

        public Criteria andCourseGrossIncomeNotIn(List<BigDecimal> values) {
            addCriterion("COURSE_GROSS_INCOME not in", values, "courseGrossIncome");
            return (Criteria) this;
        }

        public Criteria andCourseGrossIncomeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("COURSE_GROSS_INCOME between", value1, value2, "courseGrossIncome");
            return (Criteria) this;
        }

        public Criteria andCourseGrossIncomeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("COURSE_GROSS_INCOME not between", value1, value2, "courseGrossIncome");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}